package org.example.iris.service;

import org.example.iris.dto.StudentInfo;
import org.example.iris.entity.*;
import org.springframework.web.multipart.MultipartFile;

public interface StudentService {

    void register(User user, Student student);

    Student findByUserId(Integer userId);

    void updateStuInfo(Student student);

    StudentInfo getStuInfo(User user, Student student);

    String updateStuPicture(MultipartFile file, Integer userId) throws Exception;

    void updateStuStatus(Integer userId, String status);

    void updateStuSkill(Integer userId, String skills);

    void updateStuDesiredJob(Integer userId, DesiredJob desiredJob);

    void updateStuWorkExperience(Integer userId, WorkExperience workExperience);

    void updateStuProjectExperience(Integer userId, ProjectExperience projectExperience);

    void updateStuEducationExperience(Integer userId, EducationExperience educationExperience);

    void addStuDesiredJob(Integer userId, DesiredJob desiredJob);

    void addStuEducationExperience(Integer userId, EducationExperience educationExperience);

    void addStuWorkExperience(Integer userId, WorkExperience workExperience);

    void addStuProjectExperience(Integer userId, ProjectExperience projectExperience);

    void deleteDesiredJob(Integer userId, Integer desiredJobId);

    void deleteEducationExperience(Integer userId, Integer educationExperienceId);

    void deleteWorkExperience(Integer userId, Integer workExperienceId);

    void deleteProjectExperience(Integer userId, Integer projectExperienceId);


}
